package com.ddone.feign.impl;

import com.ddone.feign.StockClient;
import org.springframework.stereotype.Component;

/**
 * @author ddone
 * @date 2024/4/7-23:03
 */
@Component
public class StockClientImpl implements StockClient {
    @Override
    public Boolean updateStock(String productId, Integer count) {
        System.out.println("远程访问失败，使用降级方案处理.");
        return false;
    }
}
